package cn.com.cifi.mars.constant;

/**
 * 指标名称
 * @author Li
 *
 */
public enum TargetNameEnum {

	A("a","静态储备周期"),
	B("b","动态储备周期"),
	C("c","首开项目开销比"),
	D("d","续销项目在途比"),
	E("e","上下半年供应比"),
	F("f","首开去化率"),
	G("g","月度去化率"),
	H("h","新供去化率"),
	I("i","库存去化率"),
	J("j","长期库存去化率"),
	K("k","现房库存去化率"),
	L("l","存销比"),
	M("m","长期库存占比"),
	N("n","新增长期库存"),
	O("o","长期库存存销比"),
	P("p","现房库存存销比"),
	Q("q","结转去化率(上半年)"),
	R("r","结转去化率(下半年)"),
	S("s","回款比率")
    ;

    private String key;
    private String value;

    TargetNameEnum(String key,String value) {
        this.key = key;
        this.value = value;
    }
    
    
    public static String getValueByKey(String key){
        for(TargetNameEnum versionTypeEunm:TargetNameEnum.values()){
            if(key.equals(versionTypeEunm.getKey())){
                return versionTypeEunm.getValue();
            }
        }
        return  null;
    }
    
    /**
     * @return the key
     */
    public String getKey() {
        return key;
    }

    /**
     * @return the value
     */
    public String getValue() {
        return value;
    }


}
